<template>
    <div>
        <div class="box-name">{{infraItems.name}}</div>
        <div class="infraredid" style="display:none">{{infraItems.deviceid}}</div>
        <div class="box" :class="{box_active:infraItems.isActive}"></div>
         <el-badge v-if="infraItems.isnull" value="采集超时" ></el-badge>
    </div>
</template>
<script>
export default {
  name:'infra',
  props:["infraItems"]
}
</script>
<style scope>

</style>